|
|
I've been digging about in the docs for a while and can't come up with
an obvious way to achieve this, although I'm sure it must be fairly
straightforward.
Suppose I have a mathematical formula to calculate the R, G and B values
of a pigment based on the coordinates (x,y,z), how to write that in POV?
I started by writing 3 functions to calculate the R G and B components,
but then I got stuck trying to combine them in the pigment part of an
object. What's the best way to do this?
I want to write this:
pigment{color rgb <functionR,functionG,functionB>}
Post a reply to this message
|
|